package com.lin.annotationtest.testclass;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.lin.annotationtest.User;

public class TestAnnotation {
	private final static Logger logger = LoggerFactory.getLogger(TestAnnotation.class);
	public static void main(String[] args) {
		try {
			User user = new User(1,"zhangSan");
			user.printAnnotationMessage();
			User u = null;
			System.out.println(u.getName());
		} catch (Exception e) {
			logger.error("*****************测试annotation****************:",e);
		}
		
	}
}
